package com.zxy.ziems.server.device.pojo.event;

import lombok.Builder;
import lombok.Data;
import org.springframework.context.ApplicationEvent;

import java.util.List;

/**
 * 设备类型变更厂商事件
 * @author chdzq
 * @create 2023/3/29
 */
@Data
@Builder
public class DeviceTypeUpdateManufacturerEvent extends ApplicationEvent {
    /**
     * 设备类型Id
     */
    private String deviceTypeId;


    /**
     * 厂商ID
     */
    private List<String> deviceManufacturerIds;

    @Builder
    public DeviceTypeUpdateManufacturerEvent(String deviceTypeId, List<String> deviceManufacturerIds) {
        super(deviceTypeId);
        this.deviceTypeId = deviceTypeId;
        this.deviceManufacturerIds = deviceManufacturerIds;
    }
}
